Support import from JS object to new context.

Signed-off-by: katlogic <kat@lua.cz>