Implement HTML embedding of JavaScript and Ruby