Update on some Javascript code.