Make generated AMD modules valid

Previously loading them via "packages" option failed.
Bump version