Make javascript a bit more jshint friendly.