An All Javascript YFPP

Just creating this for future reference.