Fixes undefined error

Fixes the error: 
Exception from Deps afterFlush function function: TypeError: undefined is not a function

More info:
https://github.com/mangasocial/meteor-accounts-ui-bootstrap-3/issues/60