added minified js and using it in the demo