fixed add/remove js