fixes javascript bug on home page
extra changes