Add And Remove Attribute Javascript Array Push Object