Update lib.js

Fix creation of Ink.Class