Added CategoryID to the variables exposes to JavaScript