more changes, fixes

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
explicit v8<->other conversion

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
refactoring

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>