Use new style to include assets
Merge pull request #271 from cmfcmf/pageaddvar

Use new style to include assets