fix for javascript path