Fix some pathing the js stuff