jslint fixes
Merge pull request #2110 from dimagi/jslint

jslint fixes