Fixed JavaScript path error