a lot of style fixes... done from 28k feet in the air.
fixed JS