[JS] Mesh attachments

Adds support for typed arrays (float32 and uint16), useful when rendering in WebGL.
Fixes syntax issues in the `updateUVs` functions in MeshAttachment and SkinnedMeshAttachment.

Tested in pixi.js:
![](http://i.giphy.com/5xaOcLtf6Ch5nkkjcic.gif)