added getElementIDstr function to abstract app