Removed unused variable
added minified version