adds JS lint

This should allow us to better detect JS related issues.