use ternjs object literal