Partial Fix for #947, remove short tag

- Removed short tag, since it's not necessarily supported in PHP 5.3.
- Fixed issue with HTTPS detection if server sets HTTPS to 'OFF' instead
of 'off'.
- I know bootstrap doesn't use them most of the time, but we really
shouldn't drop semicolons from our JavaScript