The validation in Eclipse is catching what it deems \"errors\" in the framework I\'ve been using just fine.
Project -> Properties -> Validation
I believe this is caused by this bug in Eclipse Web Tools <3.5.2
It also seems to only typically affect minified Javascript (it is sensitive to certain patterns in function declarations - see link)
@Marek describes a work around to remove the errors if you are using an affected version of Eclipse Web Tools. However, a better solution might be to update to Eclipse >=4.3 and use Eclipse Web Tools >=3.5.2