fix js path bug