js small fix