I'm not sure what you mean, but these are the two ideas I have from what I think you mean.
Option #1:
I thought you mean't can you manipulate a value of a DIV to show data using JavaScript if so yes.
Look in to JS getElementByID then change the value by adding a .innerHTML or .innerText should look something like this.
// Inner text allows you to use text only no HTML formatting.
document.getElementById("myDivIDName").innerText = "New Value";
// Inner HTML allows the use of HTML formatting.
document.getElementById("myDivIDName").innerHTML = "<strong><u>New Value</u></strong>";
Example
Option #2:
Here I thought you mean't can you run a JS file on Windows as an application. So I gave this idea;
You can pack up web based application i.e HTML5, CSS and JavaScript in to an EXE file format using Node.JS. Look in to a program called WebToEXEWin.