Update child_session.js

Removed unnecessary get dirtyModels call and variable declaration.