base antistatique JS for theme