fix typos in synopsis.js

just read through this (looks awesome, btw), and fixed some typos i found as i was reading.