Create buttonlibrary.js