Updated on some Javascript code.