Thanks for your replies everyone.
balibule wroteYou can also get a 60 day visa before travelling from the nearest Indonesian Embassy. This will save you time in Bali to extend the 30 day Visa with another 30 days.
I am going to be in Singapore for 4 hours. Is that enough time to get the Visa extended to 60 days? There is no place you can get your Visa extended inside the Singapore airport is there or do you have to go through customs into Singapore proper to get that done?