small fixes
improve jsdocs, refactor getStyle
DOM.create now accepts optional attributes and styles arguments
improve DOM.create and simplify code