Fix requestFrame polyfill, fix included file case