fix #2

require.js and AMD standard