Fix minor nits to appease jshint
Convert emoticons from object to sorted list

After breaking all emoticons in the webclient
they came back as an object when they used to be an array.