remove duplicated line in core.js

truly duplicated?