deleted unnecessary js calls