Fixed page of spatial context insert, reintroducing deprecated jQuery functions