changed main page from JSP to HTML
cleaned up some ai js functions; added a bit more logging
tiny annoying temporary constant ai_difficulty change to 0
fixed bot inf loop bug