Updated build scripts for attachments. Added dojo/number and fixed a typo.