added a new js file, modified function golpear test.js