Only include jquery code if needed