Add type="text/javascript" to snowflake script