updated the front-end test to use the new js file.