Add jslint

Perform a few fixes.