added a little javascript to the webinterface