removing unecessary check before doing on message request.

Previous Commit Updated Gmsec-js to new node api.