Prototype petrinary app using require.js, backbone.js, handlebars.js