allow exporting function in mini_require.js
simplify require used in worker
fix typo
Merge pull request #1403 from ajaxorg/mini_require

compatibility with architect-build