changes to support js files and scripts