jquery (unfinished) and fixes

fixes for date being out of synch