add 2 js files, and remove some codes