Use convenience functions for getting element information from libRocket