the cleaning up of JS and some of the ugly CSS works