Now supporting AMD, CommonJS modules and normal browser global