added minified version and updated demo html