javascript only exec when right size
some shadows