[UI] adjust javascript formatting and jshint setting