Fix for beautify to work with require.js