1. A method for securing execution of a web application comprising: on a processor of a client device, invoking a function of the web application; on the processor of the client device, invoking a Partial Execution Stub (PES) function during execution of the function of the web application; from the PES function, sending a message call with current execution information related to the web application, wherein the message call is sent to a trusted module; and receiving, by the PES function, a verification result from the trusted module related to the message call.