JavaScript for frontend site and on load events.