js simple fix