Clean up a bit of a mess with jsMsg(). Should be much more functional now and accept...