Added UMD supports

As title, make it compatible with umd with grunt-umd plugin