fix css selector when pasting from jquery snippet