Fix exports to module.exports so all functions are exported

Conflicts:
	completer.js