This is not exactly a full-featured speedy bundler, but it will do the basic minification.
/((?![\"\'])(\/\/.*|(?<=\n) +|^$|\/\*.*\*\/|(?<=[\{\}\(\)\[\]])[\n ]+|[\n ]+(?=[\{\}\(\)\[\]]))(?![\"\'])|(?<=for) (?=\()|(?<=;)(\n| )| (?=[\=\!\(\)\}\{\"\'\`]))/g
(