Remove JS global variables