Change Css Property Javascript Array Foreach