Update core.js

Added `prototype` and `static` methods.