improve formatting
use jshint