applets js and css corrections