Я пробывал уже этот код.
function GetBinaryFile(PathToFile)
{
    var stream = new ActiveXObject("ADODB.Stream");
    stream.type = 1;  // Binary mode
    stream.Open();
    stream.LoadFromFile(PathToFile);
    var GetFile = stream.Read();
    stream.Close();
    return GetFile;
}
Но stream.Read() почему то мне ничего не возвращает - мож из-за того что ось win7.