Changed the order of exporting async for using browserify to create apps beside requireJS using apps

Changed the order of exporting async by module-type first, because if us...ing browserify to build an app it will conflict with existing apps usigin requireJS and it does not matter for the requireJS use case if before testing for existence of module.exports