put primary content at top of file; simplify coffescript a bit