App inventor support webgl for make simple games?

i would like to know if the app inventor can compile offline javascript using webgl and html5. thanks

Maybe. You can try this technique Creating Games in App Inventor's WebView: A Guide and let the community know how it works.