add class.js to libraries