fix JS brackets bug: must .. type .. 'var' .. !