deal some warning by jshint
deal some warning by jshint
init unit test code in front end