add payload to .js file. remove unnecessary code from .html and add a header
added a payload.js file and removed the payload from my main.js