fix wap js