LvivJS improvements