added title info to js files