corrected code prototype link in main html