Fixed JS files to work with Darrell's CSS changes and removed cruft