update min.js and example added