Added minified version, strip some unecessary code