Adding support for javascript files as well.