remove empty space in js