How To Get Parameters From Url In Javascript Object