1. A network device for providing a script for synchronous script lazy loading, the network element comprising: a memory having computer readable instructions stored thereon; at least one processor configured to execute the computer readable instructions to extract a script from source code based on a request for a web page; and a transceiver configured to provide the script from the transceiver upon a request for the web page, the script being used with a second processor configured to execute computer readable instructions to perform synchronous script lazy loading, the synchronous script lazy loading including computer readable instructions to split the extracted script source code into a plurality of script modules, generate a plurality of virtual functions, each one of the plurality of virtual functions corresponding to one of the plurality of script modules, the plurality of script modules being associated with the script, load each of the plurality of virtual functions into the memory, load a desired one of the plurality of script modules into the memory from a storage space when a corresponding one of the plurality of virtual functions is requested for initial execution, and execute the desired script module from the memory.