Dom utility library for javascript