Cocos creator coordinate system for web vs mobile

Hi, I am trying to make a simple game and testing it on the web as well as mobile. but the coordinate system for these two platforms is different. How to set it such that code works similarly on all platforms.
On the web, screen center is (0,0) and in mobile, its bottom left.