Added more jquery functionality - background