Fixed a bug showing 'OpenPopKa undefined' in the console.