IPython-inspired JavaScript environment