Fixed undefined of customClass, updated minified version.
Merge pull request #4 from PavelDemyanenko/fix-customclass-undefined

Fixed from @PavalDemyanenko