1. A method for formatting and serving web content, the method performed by a processor comprising: requesting a set of JavaScript objects and a set of JavaScript functions in a single Hypertext Transfer Protocol (HTTP) request; and in response to the requesting: obtaining the set of JavaScript objects that represents dynamic JavaScript data; and obtaining the set of JavaScript functions to format the set of JavaScript objects, the set of JavaScript objects being distinct from the set of JavaScript functions; and formatting the set of JavaScript objects using the set of JavaScript functions as a parameter; and outputting at least a subset of the set of JavaScript objects in a format determined by the set of JavaScript functions.