Fixes JS file paths