added Ecmascript comments