added js check for 'tweet' length