bugfix - load script on client only