object notation should have JSON.stringify form
drop width() and height() and use extra offset object properties instead