def js_helper(prefix, *args):
 return '\n'.join([javascript_link(url_for(('/%s%s.js?v=%s' % (prefix, name, server_starttime)))) for name in args])

def js_helper ( prefix , * args ) : return '\n' . join ( [ javascript_link ( url_for ( ( '/%s%s.js?v=%s' % ( prefix , name , server_starttime ) ) ) ) for name in args ] )
take a prefix and list of javascript names and return appropriate string of script tags .