Removed unnecessary references in module definition.
Added demo using require.js