Uncaught ReferenceError: arc is not defined