added option to delete exit. Going to rewrite using backbone.js now.
update to use backbone