fix js wrong location