Made fixes for JS methods support

Advanced cases for find still won't work - need to agree on syntax. Will be done in the next request + specs will be added.