Migrated to Browserify

Working on ES6 promise