Update from jsclass 4.0.4 and bump version to 1.0.4.