js menue functions without jquery (old browsers)