Break up embedding of JS files