refactored HTMLUtils.findStyleBlocks in https://github.com/eztierney/brackets/commit/5d7dc76dfb63722ccbb6163f5916882d3442829c