In general the server-app could be generating the HTML and scripts it serves. They need not exist in any file really. They could come from a database.