Implementation of Function.prototype.call and .apply without using native methods