Bugfix: JS confusion between cur as index variable and associative array
indexing fixed by explicitely referring to window.cur. This caused an
issue that stopped PoCs from working under unclear circumstances.