fix trailing enters in js. rm some css