Adding JS to hide client notice on close  by stokes84

This changes by @stokes84 already testing by me