Switch to two column layout

To detect overfull boxes use:
\documentclass[5p,draft]{elsarticle}
\usepackage[final]{listings}

Additional hints: http://tex.stackexchange.com/a/2780/29072