Fix possible bugs for jsparc

Move return for test sessions up
Dont get the oject first
Add docstrings to jsparc view
Fix indentation
Update OpenLayers scripts

Should fix iPad zooming
Should be compatible with jSparc
Fingers crossed
Add some more docstrings