fix dom element being sent to firebase
Merge pull request #45 from waneka/bugfix_searchfail

fix dom element being sent to firebase