making menu nagivation js function @Home