changes to app structure (thanks @charliesome!)
slideup loading cue in ajax errors as well, hide errors as a separate function