The validation in Eclipse is catching what it deems \"errors\" in the framework I\'ve been using just fine.
Project -> Properties -> Validation
Validation of .js files is handled by the JavaScript Validator, but that's a Builder, not something that plugs into the general Validation Framework. If you change the Errors/Warnings preferences, a Clean and build should show you the results.