remove redundant js file
made application load js file only needed
fix a bug