Finally got a call to photosohp working from HTML event