Update texture uploading code for node.js
Add missing RenderTarget.hx