Support one line js payload 

Add missing ';' in `run_cmd_source`
Merge #3335, @bcoles's fixes to FF JS payloads for single-line payloads.