Added try/catch block around jscs to handle assertions