Bug fix: Not working if control added after doc ready.
Merge pull request #2 from ppo/master

Bug fix: Not working if control added after doc ready.