render in ui.js
Merge pull request #35 from jmhinric/js_model

render in ui.js