added additional prototype details to the js files