removed unneeded header
removed junk
rewrite some webinterface scripts using jquery