updated documentation
element id should be a string according to DOM docs