Added more DOM traversal methods and preliminary Ajax support.