Fixed depricated usage of curCSS