comply with jshint
update code to comply with jshint
add html files