content: because javascript developers decided using javascript for web servers and desktop applications was a great idea.  You can also bake your hundred megabytes of bloated javascript framework dependencies into your fancy single page web app if you want.