removed utils.js because it didn't deserve to be a file. Code moved to core.js