Fixed undefined of customClass, updated minified version.