tuning down the magnitude and fixing up my js change