clear js code