A lot of developers are experiencing the same problem: while all other browsers display your latest web creation perfectly, Chrome just downloads the script source file – yes, source.
Several support threads describe the same problem, suggesting everything from security flaws and misconfigured servers to a chrome bug.
The answer is simple: you visited your unfinished site in Chrome before it was configured correctly. Chrome correctly just downloaded your front page script file – and it has cached that result, showing it to you again and again.
A simple curl invocation will confirm this, just goes to show how useful simple command-line tools can be.