change script js to plus minus