JS: remember the category selected in the InputEditor
JS: remember the category selected in the InputEditor

Use this to keep the same category as the selected tab whnever we select a different
Entity.  If the category is not found for the newly selected entity, select the first
tab, which tends to be 'Key Inputs'

Signed-off-by: Harvey Harrison <eadbd6b462bf3c97df0300a934c12bc2e5d1fe51@ausenco.com>

jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim