Updated trivial.js to not throw error on function