marked some css as obsolete (see css), moved some js event handlers to js, trying to store page state in cookie