dfa

added global js