Javascript.css refactoring and other changes.