loadComplete now takes optional function for callback when page changes.