add jsx as dependency
handle all messages