child2.js - fix some syntactical errors