nanoraf (npm): Only call RAF when needed
Keywords: raf