remove extra js calls