Foolish bug with lib.js (Don't program at night, damn you)