Add error handling for JS