Custom JS update