use $idris global name in js