Fixed: better finding of shortcodes within post content

Also fixed minor php error
Updated minified js file
Tested & found working on WP 3.9