Partial fix for jquery inside context