changes to the JS