the relative urls for the additional files were getting confused by itch.io's file structure. I put all the files in a single directory and it works now.