You absolutely cannot easily reproduce a proper Flash experience in JavaScript, or Canvas.
This is a problem we've been working on for years building animated experiences for kids, and the js "equivalent" is heavy on assets and extremely limits what the artist and developer can produce in the same amount of time.