refactor the code and add undefined variable into global
Merge branch 'master' of https://github.com/ssnau/ssnau.github.com

Conflicts:
	static/js/validator.js