Html parser using simple html dom library