You can get the visa and tourist tax online. You will want to do that anyway to avoid the possible lines when arriving. The 30 day extension can be applied for online after you arrived. I just returned from Bali a few weeks ago. The system is getting better all the time, although the websites can be a bit glitchy. Just stick with it. There is an information booth on the way and people hanging around to assist you.