Parse url param : http://stackoverflow.com/a/3855394
Use window.location with jQuery : http://stackoverflow.com/a/14613849