Changes needed for conversion to Chrome packaged apps