latest js code