control html5 presentations with node.js