why is the js not reloading