Query string js changes