Add no-es5-compat option during build. Add option to include/exclude stateful module during build.
Remove unnecessary script attributes
Build distribution