Cleaned up tabs and corrected some issues with js validation and cs.