fix javascript path