Made script deferred since SSR

Script should be deferred from the page rendering and not blocking since the output from the server should carry the complete html