Initial implementation of dom parsing with jquery like api.