Fix versions of jQuery and Bootstrap

jQuery 1.8 doesn't work with browserify due to a bug in esprima triggered by
internal dependencies not up to date. And Bootstrap ~3.0 doesn't match any
version on npm. Changed matches to allow newer compatible versions.

See also Issue #503 and Issue #501.
Merge pull request #513 from suy/commonjs

Fix versions of jQuery and Bootstrap