This uses jquery on document ready.. For easing can use the standard jquery 'linear' but I included the jquery.easing plugin where you can have different easing options.
$(document).ready(function () {
$('#makeitlong').animate({ width: '400'}, 2000, 'linear');
});