Fix readme example to use same function in deferOnce
Merge pull request #14 from teddyzeenny/example

Fix readme example to use same function in deferOnce