Get Parameters From Url Javascript Interview Bit