first run of plain js lib