initialize a webgl handler on html canvas