updated readme, better error message while checking for errors in example.html