Change view in CouchDB, add keypress to capture enter/return