fix path error in js and update gems