fixed the classes.js module and the shim