Add emoticon attributes and fix emoticon search