updated JS file