removing raphael from require(). it isnt playing nice. factored out key rendering.