Fixed pathing issues for js files.