cleanup after conversion of coffeescript back to vanilla js