Generating an entire webpage using just Javascript and jQuery