Some web library fixes