renamed a wrongly named javascript array