Bug fix for requirejs plugin.