Added categories parameter to dat2js handling.
Merge pull request #50 from alistairrutherford/master

Added categories parameter to dart2js handling.