Refactor/require js is a legacy

- [ ] Test with actual player
In the player the version is locked to `2.1.6`. And `"requirejs-text": "2.0.5"` is also a dependency.