Fix for javascript load error

-- With my thanks to git for being such a complex / least user friendly system