Helper functions for simple-note.appspot.com