JavaScript editor with code evaluation