Get Querystring From Url Javascript For Loop