makes example JavaScript