fix path to js dir