Export model to show it in web-browser
Blend4Web can do most of the work for you. It exports Blender models correctly and also sets up the WebGL page. It's free and open source.

https://www.blend4web.com/en/