CameraOffset and increasecameraOffset in javascript

What is the job of that scripts in
Javascript

CameraOffset 
increaseCameraOffset

And are they related to device camera or the camera movements in apps and games or something else

I want an explanation about how they work and what they do