REFACTOR: integrate jquery and semantic