Various fixes for chrome.
Merge pull request #363 from brendandahl/chrome-temp

Various fixes for chrome.