removed dom dependency
added cdn paths