added javascript for theme toggle