Cleanup lint warnings in src

Mostly trivial things that should have been caught upstream + some jshint directives to ignore empty block warnings in those files. We might want to eventually clean those up anway.

I'm trying this thing where I work exclusively in the github repo and try to improve the sync process. To that end, feel free to "accept" here but don't merge it in.