starting to display js error, but not pretty good