js code