continue fixing javascript.. stupid typos.