Updated validate.js to newest version and spruced up a few other files minorly