add validationEngine and fix typeahead.js