added ajax/script to populate records on dropdowns and preview in flashcard content tab in front end