added SockJS supporting
refactor SockJS options
fix background position bug in firefox