Removes extra semi colon being added to commands in js editor.