used js file to store action in jsp