Added sorm protection against inconsistent PSE data
Merge pull request #857 from roadster31/prd-js-fix

Added some protection against inconsistent PSE data in script.js