JS Bug Fix

Removed an extraneous line of code