Update SmartAppBanner.js

trim() cookie value and sync local string case