option to extract the raw JS if needed