Danreb, remove empty variable in JS