Updates to Webpack

Converst library to webpack and outputs the dist with UMD.