update layout with new location of JS files