Fixed negative numbers bug; pointed to CDNs

Fixed a bug affecting calculations with negative numbers. Pointed
jQuery and Bootstrap to CDNs (no Glyphicons CDN, though). Made “result”
a global variable on the calculator (will probably change back later).