Configurable number of libs on one page, bug fix