Update modular_functions.js