cleans up code, begins adding require.js