Refactoring on temp branch.
Merge branch 'master' into temp
Portal mode + prepare jquery module.
Document referrer was eating the postMessages.
Build.