changed dfa function

-added flex.js