update for requirejs