fix JS file path