PROJ4JS Sample Code
Download source code from github
EPSG4326
EPSG4326 to EPSG3785
EPSG3785
EPSG3785 to EPSG4326