Created the toss.js file