[webapi] Add webgl-py for wts

Update 2 files to support wts, and add them into webgl-py folder.