[FIX] javascript: Hopefully a fix for js detect following my breaking it in r54597 - will review and test again before 14.0 beta (but committing "early" in case anyone else can test - thanks)
[FIX] javascript: Hopefully a fix for js detect following my breaking it in r54597 - will review and test again before 14.0 beta (but committing "early" in case anyone else can test - thanks)

git-svn-id: 7564fe402ed407387e083b9f1c8ef2c2bd7bb5d7@54715 b456876b-0849-0410-b77d-98878d47e9d5

oregional/tiki,tikiorg/tiki,oregional/tiki,tikiorg/tiki,tikiorg/tiki,changi67/tiki,tikiorg/tiki,changi67/tiki,changi67/tiki,changi67/tiki,oregional/tiki,oregional/tiki,changi67/tiki