annotate html page working correctly