Restored NanNew for unbound scripts and added NanCompileScript for bound scripts.