Update sql_custom.js

updated to match pull request submitted to Alloy to be released in 1.2.0