default mode variables from static:: constants
must be the self:: of course
Merge pull request #4798 from dimadietto/master

Default mode variables HeadScript and InlineScript
Merge branch 'hotfix/4798'

Close #4798