separate jQuery part of grades from html file