Proof of concept working, replicated Jquery's extend functionality in pure JS. Merging objects as it should. Now port back into instancesandbox and test