trying to make JS work