fixing Proj4js function call