A lil bit of JS housecleaning.