Add the loaded event : show the tooltip after DOM ready

Signed-off-by: jssoscar
Version: 2.0.4
Date: 2014-6-9 15:43:17
Changelog: . Add the loaded event : show the tooltip after DOM ready
	   . Optimize the code