adding console command to generate javascript translation files based on existing php translation files