1. A method comprising: a web server receiving a request from a web client for a webpage that indicates an interpreted programming language code; determining that a compiled programming language code is embedded in the interpreted programming language code; compiling the embedded compiled programming language code to generate executable code; associating a service with the executable code, wherein the service runs the executable code when called; replacing the embedded compiled programming language code with a call to the service; and supplying to the web client the interpreted programming language code with the call to the service.