Update: LongPoll initialization to handle missing constants

This pull request modifies the browser check at the end of LongPoll to include a verification of whether $.browser.msie is even defined. 

For some context/motivation: this was causing issues for me and became pronounced when I tried to enable the asset pipeline (it wouldn't load any subsequent modules after throwing a `ReferenceError` here.)