add base tags for notes back in

copypasta from phots
update some js and css