Yes. you have a point.
If she is trying her ways out using her intelligence, you are right..she is a kid in front of Rantej. Surya looks to be a little USOOL WALA type but as you said most unpredictable too.
So, we can conclude Janvi is not safe unless the writer provides any rescue for her.