It enables SaaS and makes economic sense and sadly the latter is the only thing that matters when it comes to mass human behaviour.
Non-same origin Javascript does not have economic purpose either. I believe, that it will be completely eradicated from browsers within this century (if not in couple of decades).