Why is marketplace combined with the edit script?


Am looking a bit around in the scripts coorner.

Why is the marketplace combined with the edit.js script. the disappear both when you close edit.js. Asking this because it would make it more complex for people that like to improve or replace the edit.js script.

Combined marketplace and edit.js makes it not very customizable.

It makes more sense to split the marketplace and edit script.
The only thing the marketplace need todo is deliver the object in the domain, then you switch to edit mode.