Implement basic js execution runtime.