move onload into coffee