Fixed all of my errors is my js code to function properly.