standardize comments, remove css loading detection