fixing issue in v8.5 - note update to javascript_functions.js!

note update to javascript_functions.js!