Making a Single Page App Without a Framework