fix #1118

Allow access for js-files in build-directory.