Added some js/dom tests