move common method from common.project to common.jquery