give a better example and more options in js and update bower to use -init.js