Update child_session.js

Removed unnecessary get dirtyModels call and variable declaration.
Merged patch 2 into patch 3