Additional conditionals for allowing non-cordova based deployment environments