use grunt,fix index page,move variable,fix jshint