Javascript bug? testing in dev.