Fix jshint issues
Remove some global references and break lines after the '+' operator.