fix doc
add jslint global configuration
add missing ;
add missing ;
remove uneeded ,
add missing ;