Stir in sugar, lemon juice and pectin. Continue to stir until everything is dissolved. Continue to let the jam simmer for another 15 minutes to thicken. Add a small amount of butter to help prevent foaming. If any foam does come up though, try to scrape it off the jam.