Adding example code for executing functions from v8