try/catch new js files