created modules for use with require.js
cleanup