Fix store.on invocations to be compatible with Dojo < 1.10