fixed call on engine to use javascript array for the languages
implemented download for dropping into the dock