Depends on your country's tax system, but one of the advantages of only working one month a year is that you usually fall below most minimum tax brackets. Or at least only get lightly taxed and can reclaim most of it.
It's not uncommon for a Ruby or JS (i.e. specializing in Backbone) developer to charge $200+ an hour, which fulltime could bring in just north of $30k a month.