fixes JS