LỖI JAVASCRIPT ERROR OCCURRED IN THE MAIN PROCESS