dropDown.js - added backwards compatibility for .json files