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