updated javascript for faq