Update lib.js

Corrected Object.create, added Array.dim, Array.matrix and contentLoaded()