Add jslint in javascript directory.

Unreviewed.

All javascript implementation must be passed by jslint.