According to Random House, it's used as a mild oath expressing dismay, anger, or the like. However, I don't think it's so mild. Example: You scared the bejesus out of me!
BEJESUS
Meaning of BEJESUS in English
Slang English vocab. Английский сленговый словарь. 2012