An experimental version relying on RequireJS