fix requirejs defines in notification handler