make isWeb work in atom