Don't load simplify javascript when gateway isn't available
Merge pull request #6171 from maxrice/fix-simplify-js-load

Don't load simplify javascript when simplify gateway isn't available