js fix for twit