Create The reject function.js