modified to reference id's only in the jquery - assume everything will have an id