Small nit: It would read better to use a string template and populate it with self.get_i18n_js() than to concat three strings like this.