added support for uploading js and css files