Update functions.php

added validator.js