Since we already require jQuery why not use it and make this prettier ;)