Fix minor issue with incorrect JSLint directives

"plusplus: true" should be used to allow the use of ++, and "sloppy: true" should be used instead of "strict: false". This fixes #1203.