Fixing a really js error