JavaScript utility modules