fucked up some shit; fixing it after this commit (in lib.js sub)