adding init.js and license