can save and query opinions
Fix minor errors in javascript and get_facts