Sanitize dojo components

First bunch of fixes… More likely to come later…

@thz  @VicDeo @karlitschek FYI