-added description for the added method in new js file