Removing script-specified CSS and js pointers. More markup cleanup and restructuring.