Added JavaScript execution to console