fixed stock add JS, first model of transaction