var hsm={};hsm.init=function(){hsm.events()};hsm.events=function(){hsm.common()}; hsm.common = function () { } $(function () { hsm.init(); });