Got rid of all PHP scripts and it is handled all with Javascript