Remove function because it was moved to js/utils.js