fixed js hopefully