js formatting got messed up