playing around with require.js, to see what modularity has to offer to maintenance and reusability