Fix .connect() method to work if window.load has already been called

I found that pjax wasn't even initializing if `pjax.connect()` was called in a `.ready()`-like function because it waits on a load event which might have been called way earlier.
Merge pull request #5 from JonDum/patch-1

Fix .connect() method to work if window.load has already been called