Refactor to html parser in poslaju and gdex.