Tried to make requirejs work, but it failed. Will try again tommorrow.