Fix styling
Fixes #209

Change fragment loading to always use XHR, but enable the method of getting the fragment string to be overridable.