I'll start from the end.
RichFaces use jQuery so you can use its CSS manipulation methods. In your case:
$('#inputId').css('-webkit-box-shadow', '');
Note that if the input id looks like j_idt100:j_idt103
you need to escape the colon - j_idt100\\:j_idt103
, though if you have multiple elements to handle it would be easier to give them the same class.
As for the two things with one function, you cannot do that in this case. However there is nothing preventing you from executing two functions.
Assuming you trigger "clearSelection" with in @onclick you can put another function in there
onclick="clearSelection(); clearCSS();"
Alternatively you can chain those
<a4j:jsFunction name="clearSelection" oncomplete="clearCSS()" …/>