changed 'get' on messages to jQuery