turns out adding script type breaks page