Changed jsPoll to reflect current process. Added better support for __suspend and fixed a errors in message listener for Main