Get URL Parameters in Javascript

A simple function that will allow you to get the URL parameters in javascript. http://www.jquerybyexample.net/2012/06/get-url-parameters-using-jquery.html