Fix various jslint things

Nice catch!