the source code for html5 animation with user input. Using easeljs and written in typescript.