I'm at my regular poker game with people I've known for years and been playing with for months. $2 buy in. Big blind is $.02.

Six player table, I'm the BB. I get dealt JJ. Here's how it goes down. Names have been changed to protect the innocent.

Tight conservative player #1: raises to $.20
Tight conservative player #2: folds
Loose aggressive player: Calls
Mr. Brainiac: Calls
ME: I'm holding JJ. I figure I've got everyone beat and I want to steal what is on the table. So, I raise to $1.50 hoping everyone puts me on AA and folds.
Tight conservative player #1: folds (turns out later he had QQ!)
Loose Aggressive player: folds (turns out later he had KJo)
Mr. Brainiac: Says "I know I shouldn't but I'm going to call." Calls

Mr. Brainiac then proceeds to turn over his cards even though nobody is all in! He has A2s.

I say "We're not all in."

He says, "Okay then, all in"

Now, this is an illegal string bet but I figure I'm the HUGE favorite so I don't object. I just call.

We turn over our cards and......

he gets his Ace on the flop. I lose.

what did I do wrong? what did I do right?