Modify sgIpPing, css-js workarounds