Fix js hiccup