fixing jS