js bug removed