ensure main JS file contains .min in file path