restrict $div to local scope