JS example, an empty gegl view
JS example, add a gegl graph

with one node to load a sample image, and an over node to serve as root
node for the view.
JS example, add brightness-contrast node

with fixed values.
JS example, add controls for brightness & contrast