Fix library.js - Pass correct data