adding crossorigin to js snippet @brianr