fixed/moved Librarian module to javascript