Issue #366 fix prototype polution from app.js refactor
Version 0.8.6
Merge branch 'v0.8'