Add show_options method to correct js scope