fix js file paths