Fix JS, add wp querystring