Changed window.OpenLayers and window.Proj4js to OpenLayers and Proj4js. Changed pe. to _pe.