Remove extraneous format.js {} from mark_complete method