Modify attributes for require.js