Pass asset urls to js