added title to js file