static/index.html: Promote lenslets to a global variable
static/index.html: Limit the viewing angle by optical system parameters
static/index.html: newmode() does not imply render() anymore - this allows for cleaner main() code
static/index.html main(), newmain(): Factor out a new loadimage() function
static/index.html: Load optics, lenslets from a JSON file at the server side

Example files corresponding to cell_layer_pawel_green_2.tif are provided.