Making porthole.js more flexibile.
Adding explicit declaration for variables.instance and double check for body value.