Using requestanimframe