Implement current dart2js

Everything is implemented except 
-D<flag>=<value>
    Define an environment variable.