Automatically migrate bootstrap from 2.x to 3.x using jQuery, regex, and PHP