fix export default class declaration
Fix repl options menu

Fixes #1334