Adding splitCssClasses function