Fixed syntax error in getElement.