Start adding new requireJS support. However it doesn't work properly.