Fix bootstrap stopping if document has finished loading

By only testing readyState for "interactive" the bootstrap wouldn't
continue if the state was "complete".