Update script from jsclass 4.0.0.