html change var changes in js