fixed js to point to right directory