Features/umd

- updated the plugin source to use a UDM pattern.

See: https://github.com/umdjs/umd