simple fix to fix path for javascript save