HTML5 canvas whiteboard with jade template hosted on nodejs