retyping of HTML5 Polygon Editor using Backbone, Require.js, and Canvas by Curran Kelleher