Fix startup error

Javascript attempts to split sID, which on initial launch, is null.