Fixed styling issues which were failing jslint