[1.7.x] Re-added JS catalog in manage_translations script

Backport of d20aa78cbf from master.