Updating js and css to see when there is an error in a tabbed content