結果 : how to extract params from url javascript