fix js navigation