Update pjax-standalone.js

Several bugfixes: 
 - Title was not taken into account in some situations
 - script dynamic loading/execution was not operating on full page content but on the fragment only

If the `document.title` is being set later on anyway, would it not be better to just set `options.title` here?