The following function is on the windows load event. I am not using JQuery or anything like that. I tried using var can = $("#canvas"), but that line caused an e