Fixed again js bug