Well actually I just thought of it but yeah you do need to commit the recompiled files, otherwise the file that'll be used for the bookmarklet won't be up to date.