changing shit to work with how the js is now deployed