add a js file,see if the buttons work alright