Change how javascript files are included in layout file.