Creating all-JavaScript Jig console