Added real rules for jshint.
Allow more JavaScript for now.