Complete sections on extend/include to implement in JS code samples