added buildfile for ant and attach some code for running jslint. Call an...

I have created an ant file that call http://www.jslint.com/ for the source code for better code quality montoring.
To prevent false alerts, I have tried to put out all library files and given global context (see line 17 and 27 in build.xml). http://jslinterrors.com/ explains the jslint error messages.

So if you like just pull it to your code base. I will use jslint in a few weeks to dig deeper into the code.