The validation in Eclipse is catching what it deems \"errors\" in the framework I\'ve been using just fine.
Project -> Properties -> Validation
If none of the above steps(unchecking,excluding etc) work....After disabling the validator...delete the js file and add it back into the Workspace.