taken main.js to end of the body so that the page loads faster
added function for finding the user selection of their desired pal skill level