@staticmethod<EOL><INDENT>def jcrop_js(js_url=None, with_jquery=True):<DEDENT>
serve_local = current_app.config['<STR_LIT>']<EOL>if js_url is None:<EOL><INDENT>if serve_local:<EOL><INDENT>js_url = url_for('<STR_LIT>', filename='<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>js_url = '<STR_LIT>'<EOL><DEDENT><DEDENT>if with_jquery:<EOL><INDENT>if serve_local:<EOL><INDENT>jquery = '<STR_LIT>' % url_for('<STR_LIT>', filename='<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>jquery = '<STR_LIT>'<EOL><DEDENT><DEDENT>else:<EOL><INDENT>jquery = '<STR_LIT>'<EOL><DEDENT>return Markup('''<STR_LIT>''' % (jquery, js_url))<EOL>
Load jcrop Javascript file.

        :param js_url: The custom JavaScript URL.
        :param with_jquery: Include jQuery or not, default to ``True``.