Random clean up of JS snippets