The JavaScript part of the gaze.io framework.