about somewhat protecting your content... have you considered fiddling with asm.js?

You could use LLVM and Emscripten to compile some C/C++ app for WebGL. Emscripten emulates some standard APIs like OpenGL.

http://kripken.github.io/emscripten-site/

That's basically what Engines like Unreal or Unity do for WebGL deploy.