def generate_local_url(self, js_name):
host = self._settings['<STR_LIT>'].format(**self._host_context).rstrip('<STR_LIT:/>')<EOL>return '<STR_LIT>'.format(host, js_name)<EOL>
Generate the local url for a js file.
:param js_name:
:return: