make js helper return a list of files when no bundle is requested