requiring some javasccript for home controller