changed all urls to be relative (no starting slash) and without /pixel-editor/. Fixed the testing server to deal with these requests (and also include some better logging).
Found out every function that uses this has problems: when calling an object method as an input callback, this gets replaced with the element that triggered the event.