loader updated for github pages