applied jsFormat plugin from sublime and jslint