Update core.o.js

added extends for people that are use to java.