add js support for Stage3D (compiles but does not working yet)
Merge branch 'stage3d'
Add support for js (web gl)
Flash template fix