JS backend: fixed accessing to nested native "elements".

#KT-4298 fixed
JS backend: native trait exists only at compile time.
Buildserver auto merge