added faster non-minified version.