Bring webgl code up-to-date with js code

- Implemented stretched colormap
- Fixed basic functionality in webgl
- Moved JS code from index.html to dispatch.coffee