Fix odd spacing in the .on events