condensed inline javascript.