Added special rules to support require.js based client-side projects.