removed file validation from common.js and moved to bootstraValidation