moved inline javascript into file
added fav and touch icon
possible to specify typeof in page
various fixes