Add support for shebangs at the start of javascript files

As the subject says.