cleanup html/js, adding support for contacts, cleanup device stuff
12 files changed