Fix for "Coud not call for method of undefined" when using nodes from
API
Merge pull request #378 from bem/bug-fn-undefined

Fix for "Coud not call for method of undefined" when using nodes from API