Implement JavaScript execution