JS VM: Regenerate headers and makefiles