wrapperutils: Always set prototype private data
Set the private data of a prototype object with JS_SetPrivate() as soon as it is created. Otherwise, a garbage collection might happen while the private pointer is null, which will crash.
Closes: #259 (closed).
Closes #259 (closed)