some work on jot, remove some deprecated js and some random style fixes