Update greenLib.js