Fixed minified version to actually work

Looks like the minified version wasnt updated from about 3 point versions ago...