js/script modified to populate menu option with json