Improved build flow and also added support of webpack/browserify