rework handling of multiple js messages in getPixmap response
Merge pull request #241 from adobe-photoshop/jrb/issue-240

rework handling of multiple js messages in getPixmap response