maybe use getElementById instead of $('asdf')[0] here?