Fixes #8

This PR checks in the onMessage() method for backbone models/pojos