plv8js formula