Solve This Random Javascript Issue!