KelJS rewrite to attempt to better allow both Navigate and custom calls

For some reason, execution of WriteElderScroll stops immediately after
constructing the two arrays, and never enters into the DOM manipulation
section.