added title, fixed js