check if page has .html ending