Add demo of returning JS object