webgl support
fix xhr bug