Fixed error, class name discrepency between index.html and main.js.

Found the reason why our objects weren't populating the last name.