Document photogps.js