core: fixed javascript mode "a[ Object ] = XXX"