spaces look better on github; raw javascript api usage
also see examples