I have had a few people asking about converting payloads to .js so I will post this here.
With 5.05 we don't need to use payload.js anymore you can just make a single .html file with the exploit and payload in a single file, thank you to @XVortex you will notice this on his PS4 HEN GitHub...