corner.js: simple framework inspired by angularjs directives