Converted entire project to AMD properly. Also, I have used UMD for
every module that regula uses. The optimized file that is eventually
produced is also UMD compatible, which means that it can be used with
RequireJS or by itself.