Changes to pass jshint.

Simple changes but now my tests don't scream at me as much :+1: