object code bricks for JavaScript