Hotfix for request photo request in camera js