prop instead of attr for jquery2, whitespaces to dots in deleteCssClass selector