The Pyjsdl module is modelled on Pygame/SDL designed to permit scripts coded in Python programming language and Pygame multimedia library to compile to JavaScript using the Pyjs compiler. The module is coded in Python that wraps JavaScript libraries and harnesses the HTML5 canvas for deployment of web browser 2D applications. It was derived from my PyJ2D project, and currently supports a subset of Pygame functionality. The module is available on the Pyjsdl project page, and used to compile the following JavaScript demo.
Pyjsdl Demo