Remove the extra js code