Changed fetching of js