creating iOS game "dots" with HTML5(canvas API)