Perhaps simply hiding them is enough since we've already inserted the elements after page is loaded, it seems unnecessary to delete them in js. 

John and I would suggest to use template.js to use different template based on device layout later.