minified and changed examples to use minified js