l10n.pl now generates js files as well [WIP]

:construction: 

refs https://github.com/owncloud/core/issues/11532
Well - I guess we can ignore this for now if the behavior is unchanged