validate.js, htaccess

fixed issue in validate file and added some apache extensions in
htaccess