jQuery plugin to parse query string into array