Updated minified js version to actually work. Was not updated from latest un-mini'ed version.
Merge pull request #407 from iantearle/master

Fixed minified version to actually work