Wait until page loads before rendering for siteType: 'file'. Fixes #52