jQuery - get url parameters
window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');