Support for require.js added. Now it's not just one giant ugly file.