Added js code