Home page javascript development