add jquery and basic api