Change isClient/isServer Criteria

Because of Browserify and Windows Compatibility