Update core.js

Adding audio functions that can be usefull in the future