mbertolacci/illustrator-export-selection-to-svg — pull request #1 by michaelwills (2014-02-21 05:22:55+00:00)
Title: adjust visible bounds of artboard

based on snippet here:

http://forums.adobe.com/message/4961833#4961833

The original script didn't work in Illustrator CC as the art board hadn't changed. This fixed it but is not heavily tested.