tutorial was using old functions, I think the current equivalent of get() is on('GET',... so I switched it.