pure js implementation of the dom level 1 with some browser augmentation (getElementById, getElementsByClassName, .className, .id). Level 2 and 3 are being considered, let me know if they are important for your project.