finally fixed javascript path issue