Using modified platform.js parse call to catch unrecognised user agents