reverted a bunch of changes back to Doubles, JsList -> DOMList