HTML5 JavaScript connector for Coalmine