def extract_javascript_msgids(source):
 extracted = extract_javascript(fileobj=StringIO(source), keywords={'_': None, 'P_': (1, 2), 'N_': None, 'NP_': (1, 2)}, comment_tags={}, options={})
 return [msg_id for (line, func, msg_id, comments) in extracted]

def extract_javascript_msgids ( source ) : extracted = extract_javascript ( fileobj = StringIO ( source ) , keywords = { '_' : None , 'P_' : ( 1 , 2 ) , 'N_' : None , 'NP_' : ( 1 , 2 ) } , comment_tags = { } , options = { } ) return [ msg_id for ( line , func , msg_id , comments ) in extracted ]
return message ids of translateable strings in js source .