fixed #8, Due to deprecation of $.curCss edited to $.css